﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace ProductCatalog.WebApi.Models
{
    [DataContract]
    public class ProductSearchResult
    {
        [DataMember(Name = "totalCount", Order = 0)]
        public Int64 totalCount { get; set; }

        [DataMember(Name = "products", Order = 1)]
        public IEnumerable<Product> Products { get; set; }
    }
}